package com.lrkj.back.service.impl;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.ZsHuishouQueshi;
import com.lrkj.back.mapper.ZsHuishouQueshiMapper;
import com.lrkj.back.service.ZsHuishouQueshiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.base.ParentServiceImpl;

@Transactional
@Service
public class ZsHuishouQueshiServiceIm extends ParentServiceImpl<ZsHuishouQueshi> implements ZsHuishouQueshiService {
    @Autowired
    private ZsHuishouQueshiMapper zsHuishouQueshiMapper;

    @Override
    protected DBInterface<ZsHuishouQueshi> getDao() throws DBException {
        // TODO Auto-generated method stub
        return zsHuishouQueshiMapper;
    }

    @Override
    public List<ZsHuishouQueshi> findAllZsHuishouQueshi(Map<String, Object> map) throws DBException {
        return zsHuishouQueshiMapper.findAllZsHuishouQueshi(map);
    }

}
